/**
 * C 调试辅助宏的使用
*/

#include <stdio.h>
void test(void)
{
    int a = 10;
    int b = 20;
    int c = 30;

    printf("这是%s:%s第%d行\n", __FILE__, __func__, __LINE__);
    printf("a=%d\n", a);
    printf("b=%d\n", b);
    printf("c=%d\n", c);
}

int main()
{
    int i = 9;
    int s = 10;
    int ss = 0;
    s = i + 100;
    ss = s + 100;

    printf("%p\n", &i);
    printf("s=%d\n", s);
    printf("i=%d\n", i);
    printf("ss=%d\n", ss);

    printf("这是%s:%s第%d行\n", __FILE__, __func__, __LINE__);

    test();

    printf("hello");
    printf("world!\n");
    printf("begin return from main\n");

    return 0;
}